<template>
    <div class="no_data" :class="className">
        <img class="no_img" src="../../assets/images/default_no_data@2x.png"/>
        <p class="no_text">暂无数据</p>
    </div>
</template>

<script>

export default {
  props: ['className']
};
</script>

<style lang="less" scoped>
.no_data{
    text-align: center;
    padding-bottom: 10px;
    .no_img{
        display: block;
        width: 210px;
        margin: 0 auto;
        padding: 20px 0;
    }
    .no_text{
        font-size: 13px;
        color:#999;
    }
}
&.chart{
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}
</style>